home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 6 / FM Towns Free Software Collection 6.iso / t_os / et / src / _debug.c < prev    next >
Text File  |  1993-07-08  |  573b  |  35 lines

  1. #include  "et.h"
  2. #include  "etc.h"
  3. void  custom(int *ram_p, int *menu_i_p, int *ps_r_p, unsigned *f_p)/*et*/
  4. {
  5. #ifdef  o_I
  6.   *ps_r_p = o_I;
  7. #endif
  8. #ifdef  o_M
  9.   *menu_i_p = o_M + '0';
  10. #endif
  11. #ifdef  o_V
  12.   set_bit(*f_p, f_VIEW);
  13. #endif
  14. #ifdef  o_R
  15.   set_bit(*f_p, f_RND);
  16. #endif
  17. #ifdef  o_S
  18.   set_bit(*f_p, f_SV);
  19.   res_bit(*f_p, f_GPH);
  20. #endif
  21. #ifdef  o_T
  22.   set_bit(*f_p, f_GPH);
  23.   res_bit(*f_p, f_SV);
  24. #endif
  25. #ifdef  o_U
  26.   res_bit(*f_p, f_SV|f_GPH);
  27. #endif
  28. #ifdef  o_W
  29.   *ram_p = o_W;
  30. #endif
  31. #ifdef  o_X
  32.   set_bit(*f_p, f_EXG);
  33. #endif
  34. }
  35.